package com.frank.practice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Frank Zou
 * @version v0.0.1
 * @date 2025/3/17
 * @description 套题内容表
 */
@Data
@TableName(value = "practice_set_detail")
public class PracticeSetDetail implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 套题id
     */
    @TableField(value = "set_id")
    private Long setId;

    /**
     * 题目id
     */
    @TableField(value = "subject_id")
    private Long subjectId;

    /**
     * 题目类型
     */
    @TableField(value = "subject_type")
    private Integer subjectType;

    /**
     * 创建人
     */
    @TableField(value = "created_by")
    private String createdBy;

    /**
     * 创建时间
     */
    @TableField(value = "created_time")
    private Date createdTime;

    /**
     * 更新人
     */
    @TableField(value = "update_by")
    private String updateBy;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 是否被删除 0为删除 1已删除
     */
    @TableField(value = "is_deleted")
    private Integer isDeleted;

    private static final long serialVersionUID = 1L;

}